<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo_1</title>
</head>
<body>
    <div id="app">
        <p>{{userName}}</p>
        <p v-once>{{userName}}</p>
        <p v-text="userName"></p>
        <p v-html="userName"></p>
    </div>
</body>
<script src="/js/vue.js"></script>
<script>
    var vm = new Vue({
        el:"#app",
        data:{
            userName:"<h1>欢迎您,管理员!</h1>"
        }
    })
</script>
</html>